package org.springblade.modules.platform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author SYG
 * @since 2021-11-17
 */
@TableName("equipment_alarm")
@Data
public class EquipmentAlarm extends Model<EquipmentAlarm> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 设备编号
     */
    private String equipmentId;

    /**
     * 设备名称
     */
    private String equipmentName;

    /**
     * 添加时间
     */
    private Long createTime;

    /**
     * 告警JSON
     */
    private String alarmJson;

    /**
     * 告警名称
     */
    private String alarmName;

    /**
     * 状态1:启动 0：停止
     */
    private Integer alarmStatus;

	/**
	 * 产品名称
	 */

	private String productName;
	/**
	 * 产品编号
	 */

	private String productId;

	private String remark;


	@ApiModelProperty(value = "是否告警；是：true；否：false")
	private Boolean isAlert;
}
